<div class = "main-view"><!--最外层div-->

    <div class="left-margin top-margin"><strong class="am-text-primary am-text-lg">修改密码</strong></div>

    <!--<div class="am-tab-panel am-fade am-active am-in" id="tab2">-->
        <form class="am-form">
            <div class="am-g am-margin-top">
                <div class="am-u-sm-4 am-u-md-2 am-text-right">
                    原密码
                </div>
                <div class="am-u-sm-8 am-u-md-4">
                    <input type="password" class="am-input-sm" required="required" ng-model="updateData.old">
                </div>
                <div class="am-hide-sm-only am-u-md-6">*必填</div>
            </div>

            <div class="am-g am-margin-top">
                <div class="am-u-sm-4 am-u-md-2 am-text-right">
                    新密码
                </div>
                <div class="am-u-sm-8 am-u-md-4">
                    <input type="password" class="am-input-sm" required="required" ng-model="updateData.new">
                </div>
                <div class="am-hide-sm-only am-u-md-6">*必填</div>
            </div>

            <div class="am-g am-margin-top">
                <div class="am-u-sm-4 am-u-md-2 am-text-right">
                    确认新密码
                </div>
                <div class="am-u-sm-8 am-u-md-4">
                    <input type="password" class="am-input-sm" required="required" ng-model="updateData.renew">
                </div>
                <div class="am-hide-sm-only am-u-md-6">*必填</div>
            </div>

            <div style="margin-left: 43%">
                <button type="button" class="am-btn am-btn-success right-margin top-margin" ng-show="true" ng-click="update(updateData)">保存</button>
            </div>
        </form>
    <!--</div>-->
</div>